package com.bilibili.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.bilibili.domain.entity.RefreshToken;

import java.util.Date;

/**
* @author www
* @description 针对表【t_refresh_token(刷新令牌记录表)】的数据库操作Service
* @createDate 2024-06-12 10:37:38
*/
public interface RefreshTokenService extends IService<RefreshToken> {

    Integer deleteRefreshToken(String refreshToken, Long userId);

    Integer addRefreshToken(String refreshToken, Long userId, Date date);

    RefreshToken getRefreshTokenDetail(String refreshToken);
}
